﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Entity;

namespace AuctionHouseDataLibrary
{
    public class ItemInitializer : CreateDatabaseIfNotExists<ItemDatabaseContext>
    {
        protected override void Seed(ItemDatabaseContext context)
        {
            context.Database.ExecuteSqlCommand("CREATE UNIQUE INDEX IX_ScanEventLastModDateTime ON ScanEvents (LastModDateTime)");
        }
    }
}